package red.book._1._2;

import edu.princeton.cs.algs4.StdOut;
import edu.princeton.cs.algs4.StdRandom;

public class TestVisualAccumulator {
	
	@SuppressWarnings("deprecation")
	public static void main(String[] args) {
		int T = 1000;
		
		VisualAccumulator a = new VisualAccumulator(T, 1.0);
		for(int t = 0; t < T; t++) {
			a.addDataValue(StdRandom.random());
		}
		StdOut.println(a);
	}
}
